package com.taoye.thread;

public class Demo03 {
	public static void main(String[] args) {
		Thread t = new Demo03Thread();
		Thread t1 = new Demo03Thread();
		t.start();
		t1.start();
	}
}

class Demo03Thread extends Thread {
	private int conut = 3;
	
	@Override
	public void run() {
		while(conut-- > 0) {
			System.out.println(Thread.currentThread().getName() + "--count:"+conut);
		}
	}
}